package com.itheima.d3_abstract;

public class cat extends Animals {
    @Override
    public void cry() {
        System.out.println(getName() + "喵喵喵的叫");
    }

    public cat(String name) {
        super(name);
    }
}
